package BridgePattern;

public class CharDispalyImpl extends DisplayImpl {
    private char head;
    private char body;
    private char foot;
    public CharDispalyImpl(char head,char body,char foot) {
        this.head=head;
        this.body=body;
        this.foot=foot;
    }

    @Override
    public void rawOpen() {
        System.out.print(head);
    }

    @Override
    public void rawPrint() {
        System.out.print(body);
    }

    @Override
    public void rawClose() {
        System.out.println(foot);
    }
}
